package com.love.netty.core.packet.response;

import com.love.netty.core.packet.Packet;
import lombok.Data;

import static com.love.netty.core.interfaces.Command.LOGIN_RESPONSE;

/**
 * @ClassName: LoginResponsePacket
 * @Description:
 * @Author: wuj
 * @Date: 2021-06-23 16:14
 **/
@Data
public class LoginResponsePacket extends Packet {

    private boolean success;

    private String reason;

    private String userName;


    private String userId;


    @Override
    public Byte getCommand() {
        return LOGIN_RESPONSE;
    }
}
